package com.example.qxfw.dysjrh.controller;

import com.example.qxfw.common.SysResult;
import com.example.qxfw.dysjrh.entity.RaidenData;
import com.example.qxfw.dysjrh.service.RaidenService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequiredArgsConstructor
@RequestMapping("/raiden")
public class RaidenController {

    private final RaidenService raidenService;


    /**
     * 雷电
     * @return
     */
    @GetMapping("/getRaidenData")
    public SysResult getRaidenData(RaidenData raidenData) {
        return SysResult.success(raidenService.getRaidenData(raidenData));
    }







}
